export const KeyWordReducer = (prevState = "", action) => {
    let { type, payload } = action
    //if (prevState === '') return
    switch (type) {
        case "change_keyword":
            let newState = prevState
            newState = payload
            return newState
        default:
            return prevState
    }
}